home *** CD-ROM | disk | FTP | other *** search
-
- I asked Ethan Weiner of Crescent Software whether it was OK to include
- the modified TEXTIN.BAS file (TEXTIN2.BAS) with this distribution. It is
- Crescent Software's policy that this is against their best interests ... I see
- their point, and agree with it. Instead, the following text is the output of
- the DOS FC (FileCompare) utility run with the /c /L /L300 and /n parameters
- asserted to create an ASCII difference file between my modified TEXTIN, and the
- original. QuickPack Professional users who wish to recompile this program will
- have to create a TEXTIN2.BAS file from TEXTIN.BAS, and add these lines.
-
- ***** textin2.bas
- 3: 'Copyright (c) 1987 - 1990 Ethan Winer
- 4: 'minor changes to ExitCode to allow sensing of function keys
- 5: '08/21/90
- 6:
- *****
-
- ***** c:\pro\basdemo\textin.bas
- 26: ' 2 = Esc key pressed
- 27: '
- ***** textin2.bas
- 28: ' 2 = Esc key pressed
- 29: ' 59 to 68 = raw F1 to F10 scan code, et al.
- 30: '
- *****
-
- ***** textin2.bas
- 82:
- 83: SELECT CASE a$ ' add-on to QPRO routine 08/21/90
- 84: CASE CHR$(59) TO CHR$(68) ' send function key scan as exit code
- 85: ExitCode = ASC(RIGHT$(a$, 1))
- 86: GOTO TFKey
- 87: CASE CHR$(84) TO CHR$(93) ' shifted function key
- 88: ExitCode = ASC(RIGHT$(a$, 1))
- 89: GOTO TFKey
- 90: CASE CHR$(94) TO CHR$(103) ' control + function key
- 91: ExitCode = ASC(RIGHT$(a$, 1))
- 92: GOTO TFKey
- 93: CASE CHR$(104) TO CHR$(113) ' alt + function key
- 94: ExitCode = ASC(RIGHT$(a$, 1))
- 95: GOTO TFKey
- 96: CASE ELSE
- 97: END SELECT
- 98:
- 99: GOTO TGetKey 'none of the above, get again
- *****
-
- ***** textin2.bas
- 357:
- 358: TFKey:
- 359: ' label for clarity only. Send
- 360: GOTO TEnter ' scan code to TEnter as ExitCode
- 361:
- *****
-
-